//
//  MainViewController.h
//  Megatlon
//
//  Created by Leandro Milmanda on 4/7/12.
//  Copyright 2012 www.lemil.com.ar. All rights reserved.
//


#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>

#import "DisplayMap.h"
#import "FlipsideViewController.h"


@interface MainViewController : UIViewController <MKMapViewDelegate> {
     IBOutlet MKMapView *mapView;
    @private SucursalesDao *sucursalService;
}

@property (nonatomic, retain) IBOutlet MKMapView *mapView;

@property (nonatomic) IBOutlet MKCoordinateRegion region;

-(IBAction)showInfo:(id)sender;
-(void)prepareMap;
-(void) calloutTapped:(UITapGestureRecognizer *)recognizer;
-(IBAction) showInfoWithSelected:(int)sucid;

@end
